﻿using MVVMLightDemo.Implements;
using MVVMLightDemo.interfaces;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;

namespace MVVMLightDemo
{
    /// <summary>
    /// App.xaml 的交互逻辑
    /// </summary>
    public partial class App : Application
    {
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);
            NinjectContainer container = new NinjectContainer();
            container.AddSingleton<IExcelHelper, ExcelService>();

            //NewWindow window = new NewWindow(container);
            //window.Show();
            Load l = new Load();
            l.Show();
        }
    }
}
